@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>已上架商品</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
							<div class="col-sm-3">
								<#SelectCon id="province" name="商家所在地 ">
								<option id="choosePro" value="">请选择省份</option>
								</#SelectCon>
							</div>
							<div class="col-sm-3">
								<#SelectCon id="citys" name="市" >
								<option id="chooseCity" value="">请选择城市</option>
								</#SelectCon>

							</div>
							<div class="col-sm-3">
								<#SelectCon id="county" name="县" >
								<option id="chooseCounty" value="">请选择城市</option>
								</#SelectCon>

							</div>

							<div class="col-sm-3"><#NameCon id="shopName" name="所属店铺" placeholder="所属店铺" />
							</div>
							<div class="col-sm-3">
								<#SelectCon id="goods1" name="商品分类" >
								<option id="goodscats1" value="">请选择</option>
								</#SelectCon>
							</div>
							<div class="col-sm-3">
								<#SelectCon id="goods2" name="二级分类" >
								<option id="goodscats2" value="">请选择</option>
								</#SelectCon>
							</div>
							<div class="col-sm-3">
								<#SelectCon id="goods3" name="三级分类" >
								<option id="goodscats3" value="">请选择</option>
								</#SelectCon>

							</div>

							<div class="col-sm-3">
                     
                                <#NameCon id="goodsName" name="商品名称" placeholder="商品名称" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Goods.search()"/>
                            </div>
                        </div>
                       
                        <div class="hidden-xs" id="GoodsTableToolbar" role="group">
                            @if(shiro.hasPermission("/goods/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Goods.openAddGoods()"/>
                            @}
                            @if(shiro.hasPermission("/goods/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Goods.openGoodsDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/goods/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Goods.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="GoodsTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="${ctxPath}/static/modular/huamao/goods/goods.js"></script>
<script src="${ctxPath}/static/modular/huamao/public/areas.js"></script>
<script src="${ctxPath}/static/modular/huamao/public/goodscats.js"></script>
@}	
